import Root from '../pages/root';
import Error404 from '../pages/error404';
import ViewEditDetail from '../pages/viewEditDetail'
import JdyDemo from '@/pages/jdyDemo';
const routes = [
  {
    component: Root, 
    routes: [
      {
        path: "/404",
        exact: true,
        component: Error404,
        requiresAuth:false
      },
      {
        path: "/",
        exact: true,
        component: ViewEditDetail,
        requiresAuth:true
      },   
      {
        path: "/JdyDemo",
        exact: true,
        component: JdyDemo,
        requiresAuth:true
      }   
    ]
  }
];
 
export default routes;